package com.xinghanlaser.applet.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 
 * @TableName topic_detail
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value ="topic_detail")
@ApiModel(value = "TopicDetail", description = "申请单详情")
public class TopicDetail extends BaseEntity {
    @TableId
    private Long id;

    @ApiModelProperty(value = "工单类型：0代表维保单")
    private Integer topicType;

    @ApiModelProperty(value = "产品序列号")
    private String productSn;

    @ApiModelProperty(value = "产品规格型号")
    private String productSpec;

    @ApiModelProperty(value = "产品的客户名称（经销商）")
    private String customerName;

    @ApiModelProperty(value = "经销商绑定的用户ID")
    private Long customerId;

    @ApiModelProperty(value = "产品订单状态")
    private String productStatus;

    @ApiModelProperty(value = "送货日期")
    private Date deliverTime;

    @ApiModelProperty(value = "提交者的用户名")
    private String userName;

    @ApiModelProperty(value = "提交者的用户名")
    private Long userId;

    @ApiModelProperty(value = "联系人")
    private String contactUser;

    @ApiModelProperty(value = "联系人电话")
    private String contactPhone;

    @ApiModelProperty(value = "联系地址JSON")
    private String contactAddress;

    @ApiModelProperty(value = "问题描述")
    private String problemDesc;

    @ApiModelProperty(value = "图片地址JSON")
    private String pictures;
}